//读写文件库

#ifndef FILEPROCESS_H
#define FILEPROCESS_H

#include <QWidget>
#include<QVariant>
#include<QList>
#include<QTextStream>
#include <QFile>

class FileProcess
{
public:
    FileProcess();
    static void fileWrite(QVariant address,QVariant str);   //写文件
    static QList<QString> fileRead(QVariant address);   //读文件
    static QString update(QList<QString> fileContent, QVariant userName, QVariant score);   //刷新排行榜内容
};

#endif // FILEPROCESS_H
